{#<!DOCTYPE html>#}
{#<html lang="zh-CN">#}
{#<head>#}
{#    <meta charset="UTF-8">#}
{#    <meta name="viewport" content="width=device-width, initial-scale=1.0">#}
{#    <title>登录成功</title>#}
{#    <style>#}
{#        * {#}
{#            margin: 0;#}
{#            padding: 0;#}
{#            box-sizing: border-box;#}
{#            font-family: 'Arial', sans-serif;#}
{#        }#}
{##}
{#        body {#}
{#            background-color: #f0f2f5;#}
{#            display: flex;#}
{#            justify-content: center;#}
{#            align-items: center;#}
{#            min-height: 100vh;#}
{#        }#}
{##}
{#        .success-container {#}
{#            background-color: white;#}
{#            padding: 3rem;#}
{#            border-radius: 10px;#}
{#            box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);#}
{#            text-align: center;#}
{#            width: 100%;#}
{#            max-width: 500px;#}
{#        }#}
{##}
{#        .success-icon {#}
{#            font-size: 5rem;#}
{#            color: #28a745;#}
{#            margin-bottom: 1.5rem;#}
{#        }#}
{##}
{#        .success-title {#}
{#            color: #1a1a1a;#}
{#            font-size: 1.8rem;#}
{#            margin-bottom: 1rem;#}
{#        }#}
{##}
{#        .success-message {#}
{#            color: #4a4a4a;#}
{#            font-size: 1.1rem;#}
{#            margin-bottom: 2rem;#}
{#        }#}
{##}
{#        .back-btn {#}
{#            padding: 0.8rem 2rem;#}
{#            background-color: #007bff;#}
{#            color: white;#}
{#            border: none;#}
{#            border-radius: 6px;#}
{#            font-size: 1rem;#}
{#            cursor: pointer;#}
{#            transition: background-color 0.3s;#}
{#        }#}
{##}
{#        .back-btn:hover {#}
{#            background-color: #0056b3;#}
{#        }#}
{#    </style>#}
{#</head>#}
{#<body>#}
{#    <div class="success-container">#}
{#        <div class="success-icon">✓</div>#}
{#        <h2 class="success-title">登录成功！</h2>#}
{#        <p class="success-message">欢迎回来，{{ user }}！</p>  <!-- 显示用户名 -->#}
{#        <button class="back-btn" onclick="window.location.href='/'">返回登录页</button>#}
{#    </div>#}
{#</body>#}
{#</html>#}



<!DOCTYPE html>
<html lang="zh-CN">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>登录成功</title>
    <style>
        body {
            font-family: "Microsoft YaHei", sans-serif;
            text-align: center;
            padding-top: 100px;
        }
        .success {
            color: #4CAF50;
            font-size: 24px;
        }
        .btn-goto {
            background: #2196F3;
            color: white;
            border: none;
            padding: 10px 20px;
            border-radius: 5px;
            cursor: pointer;
            text-decoration: none;
            display: inline-block;
            margin-top: 20px;
        }
    </style>
</head>
<body>
    <div class="success">登录成功！</div>
    <a href="{{ url_for('view01.student_manage') }}" class="btn-goto">进入学生管理</a>
    <a href="{{ url_for('view01.teacher_manage') }}" class="btn-goto">进入老师管理</a>
</body>
</html>